package com.hanxu.mallproduct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hanxu.common.utils.PageUtils;
import com.hanxu.mallproduct.entity.BrandEntity;
import com.hanxu.mallproduct.entity.CategoryBrandRelationEntity;
import com.hanxu.mallproduct.vo.BrandVo;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Null;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author hanxu
 * @email hanxu@gmail.com
 * @date 2025-03-16 20:27:38
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveDetail(CategoryBrandRelationEntity categoryBrandRelation);

    void updateBrand(Long brandId,String name);

    void updateCategory(Long catId, String name);


    List<BrandEntity> getBrandsByCatId(Long catId);
}

